package com.blds.mc.config.wechat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * <p>
 * 瞎弄程序属性配置
 * </p>
 *
 * @author stwyj
 * @since 2018/6/10
 */
@ConfigurationProperties(prefix = "wechat.miniapp")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WechatMAProperties {

    /**
     * 设置微信小程序的appid
     */
    private String appid;

    /**
     * 设置微信小程序的Secret
     */
    private String secret;

    /**
     * 设置微信小程序的token
     */
    private String token;

    /**
     * 设置微信小程序的EncodingAESKey
     */
    private String aesKey;

    /**
     * 消息格式，XML或者JSON
     */
    private String msgDataFormat;
}
